import HomeScreen from "../screens/HomeScreen";
import NewsDetailScreen from "../screens/NewsDetailScreen";
import LoginScreen from "../screens/LoginScreen";

export const getRoutes = ()=>{
  return [
    {
      component:HomeScreen,
      name:"Home"
    },
    {
      component:NewsDetailScreen,
      name:"NewsDetail",
      options:{
        title:'Welcome'
      }
    },{
      component:LoginScreen,
      name:"Login"
    }
  ]
}